'use strict'
const titbit = require('titbit')

 process.on('SIGTERM',(sig)=>{
  console.log('捕获')
})

process.on('SIGINT',(sig)=>{
console.log('不退出')
})
const app = new titbit({
  debug:true
})

app.get('/',async c=>{
  c.res.body = 'ok'
})

app.run(1236)


